package com.example.demo.nuoqi.utils;/*
 *author limfff
 *date 2021/5/9
 */

import com.example.demo.nuoqi.pojo.Admin;
import com.example.demo.nuoqi.pojo.User;

import javax.servlet.http.HttpSession;

public class AdminUtils {


    public static Admin getAdmin(HttpSession session) {
        return (Admin) session.getAttribute("adminUser");
    }


}
